package tjs.study.notes.alibaba.user.rpc;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created by Nicky.Tang on 2022/1/2 4:20 下午
 *
 * @since 02.12.10
 */
@FeignClient(value = "order", path = "/order")
public interface OrderRPC {
    @GetMapping("/newOrder/{userId}")
    String newOrder(@PathVariable("userId")String userId);
}
